.cardList {
  overflow: hidden;
  li {
    float: left;
    margin: 10px;
    width: 100px;
    .deleteItem {
      display: none;
    }
  }
  li:hover {
    .deleteItem {
      display: block;
      position: absolute;
      top: -1px;
      right: -1px;
      padding: 1px;
      width: 20px;
      height: 20px;
      background-color: #fff;
    }
  }
  .custom-image {
    display: table-cell;
    position: relative;
    width: 100px;
    height: 100px;
    text-align: center;
    vertical-align: middle;
    line-height: 0;
    img {
      max-width: 100%;
      height: auto;
      max-height:100%;
    }
  }
  h5 {
    margin: 5px 0 0;
    line-height: 28px;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 12px;
  }
}

.ant-layout {
  background: #fff;
}